package org.yonggan.dmp.tag

import org.apache.spark.sql.Row
import org.yonggan.dmp.utils.UserTagUtils

/**
  *  地域域标签
  */
object AeraTag extends Tag {
  /**
    * 用户标签规范
    *
    * @param agrs
    * @return List[(String,Int)]  标签集合
    */
  override def makeTag(agrs: Any*): List[(String, Int)] = {
    val row = agrs(0).asInstanceOf[Row]
    UserTagUtils.areaTag(row)

  }
}
